<%--
    Document   : index
    Created on : 28-set-2010, 14.57.49
    Author     : giosk
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>WishLister</title>
        <link rel="stylesheet" type="text/css" href="css/style.css"/>
        <base target="_self"/>
    </head>
    <body>
        <%@include file="WEB-INF/jspf/header.jspf"%>
        <!-- start page -->
        <div id="content">
            <div class="post">
                <h2 class="title">Registrazione</h2>

                <div class="entry">
                    <c:choose>
                        <c:when test="${!empty requestScope.login}">
                            <h1>Ciao ${requestScope.login}!</h1>
                            <p><a href="index.jsp">Accedi</a> per aggiungere dei desideri alla tua lista!</p>
                        </c:when>

                        <c:otherwise>
                            <p>Errore nella registrazione.</p>
                        </c:otherwise>
                    </c:choose>
                </div>

            </div>
        </div>

        <%@include file="WEB-INF/jspf/nav.jspf"%>
        <!-- end page -->

        <%@include file="WEB-INF/jspf/footer.jspf"%>
    </body>
</html>


